@extends('layout.zhongxin')
@section('title','修改个人资料')
@section('zhong')
  <center>
  <caption><a style="font-size:20px;">修改个人资料</a></caption> 
  <form action="{{url('/gerens/updates')}}" method="post" >
    <table>
    <tr>
      <td style="font-size:16px;color: #999; ">用户昵称:</td>
      <td style="font-size:16px;color: #369; ">　　{{$users->username}}</td>
    </tr>
    <tr><td height="5px;"></td></tr>
    <tr>
      <td style="font-size:16px;color: #999; ">邮箱:</td>
      <td style="font-size:16px;color: #369; ">　　{{$users->email}}</td>
    </tr>
    <tr><td height="5px;"></td></tr>
   <tr>
      <td style="font-size:16px;color: #999; ">真实姓名:</td>
      <td>　　<input  style="width: 300px;height: 30px;" type="text" name="rename" value="{{$users->rename}}">
      <input  style="width: 300px;height: 30px;" type="hidden" name="id" value="{{$users->id}}"></td>
      </tr>
      <tr><td height="5px;"></td></tr>
    <tr>
      <td style="font-size:16px;color: #999; ">年龄:</td>
      <td>　　<input  style="width: 300px;height: 30px;" type="text" name="age" value="{{$users->age}}"></td>
      </tr>
      <tr><td height="5px;"></td></tr> 

     <tr>
    <td style="font-size:16px;color: #999; ">性别:</td>
    <td>　　<input  style="margin-left: 50px;" type="radio" name="sex"  value="1" @if($users->sex == 1)   
                    checked
                  @endif
      ">男
      <input  style="margin-left:50px;" type="radio" name="sex"  class="small" value=" 0" @if($users->sex ==0)   
                checked
                @endif 
      >女
     
  </td>
  </tr>
  <tr><td height="5px;"></td></tr>
  <tr>
      <td style="font-size:16px;color: #999; ">手机号:</td>
      <td>　　<input  style="width: 300px;height: 30px;" type="text" name="phone" value="{{$users->phone}}"></td>
    </tr>
    
    
    <tr><td height="5px;"></td></tr>
    <tr><td></td><td>　　<input style="cursor: pointer;" type="submit" value="确认">
      　　<input type="reset" style="cursor: pointer;" value="重置"></td></tr>

    </table>
  
    {{csrf_field()}}
  </form>

@endsection